package org.NooLab.itexx.storage.docserver.storage.db.iciql;

import com.iciql.Iciql.IQColumn;
import com.iciql.Iciql.IQIndex;
import com.iciql.Iciql.IQIndexes;
import com.iciql.Iciql.IQTable;


@IQTable
@IQIndexes({ @IQIndex({ "filename" })} )
             
public class Orphanes {

	@IQColumn(primaryKey = true, autoIncrement =true)
	public Long id;

	@IQColumn(trim = true)
	public String filename;

	@IQColumn( nullable=false )
	public Long folderid;

	/**
	 * pointer to the entry in table "documents" , could be null/-1 for orphaned folders 
	 */
	@IQColumn( nullable=true )
	public Long docid;

	/**
	 * last known status of the entry
	 */
	@IQColumn( nullable=true )
	public Integer laststatus;
	
	/**
	 * status of orphane treatment 
	 */
	@IQColumn( nullable=true )
	public Integer status;
	
}



	
